import request from '@/utils/request'

// 获取获取订单分页详情
export function orderPaging(data) {
  return request({
    method: 'post',
    url: '/order-manager/order/page',
    data
  })
}

// 获取获取订单详情
export function orderInfo(id) {
  return request({
    url: `/order-manager/order/${id}`
  })
}

// 更新订单
export function orderUpdate(data) {
  return request({
    method: 'post',
    url: `/order-manager/order/${data.id}`,
    data
  })
}

// 获得快递员信息
export function courierInfo(params) {
  return request({
    url: `/business-hall/courier/page`,
    params
  })
}
